<!--
 * @Author: 乔
 * @Date: 2021-11-04 16:36:56
 * @LastEditTime: 2021-11-04 17:52:10
 * @LastEditors: 乔
 * @FilePath: \tp30\app\admin\view\login\res_pwd.html
-->
{include file='public/head' t='重置密码'}

<body>
    {if !isset($name)}
    <div class="bg"></div>
    <div class="container">
        <div class="line bouncein">
            <div class="xs6 xm4 xs3-move xm4-move">
                <div style="height:150px;"></div>
                <div class="media media-y margin-big-bottom">
                </div>
                <form action="" method="post">
                    <div class="panel loginbox">
                        <div class="text-center margin-big padding-big-top">
                            <h1>后台管理中心- <span style="color: red;">重置密码</span> </h1>
                        </div>
                        <div class="panel-body" style="padding:30px; padding-bottom:10px; padding-top:10px;">
                            <div class="form-group">
                                <div class="field field-icon-right">
                                    <input type="text" class="input input-big" name="name" placeholder="账号"
                                        data-validate="required:请输入您的账号" />
                                    <span class="icon icon-user margin-small"></span>
                                </div>
                            </div>
                            <div class="form-group">
                                <div class="field field-icon-right">
                                    <input type="email" class="input input-big" name="email" placeholder="邮箱"
                                        data-validate="required:请输入您的邮箱">
                                    <span class="icon icon-key margin-small"></span>
                                </div>
                            </div>
                            <div class="form-group">
                                <div class="field">
                                    {:token_field()}
                                    <input type="text" class="input input-big" name="code" placeholder="填写右侧的验证码"
                                        data-validate="required:请填写右侧的验证码" />
                                    <img src="{:captcha_src()}" alt="" width="100" height="32" class="passcode"
                                        style="height:43px;cursor:pointer;" onclick="this.src=this.src+'?'">

                                </div>
                            </div>
                        </div>
                        <div style="padding:30px;"><input type="submit"
                                class="button button-block bg-main text-big input-big" value="确认提交"></div>
                    </div>
                </form>
            </div>
        </div>
    </div>
    {else /}
    <div class="bg"></div>
    <div class="container">
        <div class="line bouncein">
            <div class="xs6 xm4 xs3-move xm4-move">
                <div style="height:150px;"></div>
                <div class="media media-y margin-big-bottom">
                </div>
                <form action="" method="get">
                    <div class="panel loginbox">
                        <div class="text-center margin-big padding-big-top">
                            <h1>后台管理中心- <span style="color: red;">邮箱验证码</span> </h1>
                        </div>
                        <div class="panel-body" style="padding:30px; padding-bottom:10px; padding-top:10px;">
                            <div class="form-group">
                                <div class="field field-icon-right">
                                    <input type="text" class="input input-big" readonly name="name" value="{$name}"
                                        placeholder="账号" data-validate="required:请输入您的账号" />
                                    <span class="icon icon-user margin-small"></span>
                                </div>
                            </div>
                            <div class="form-group">
                                <div class="field field-icon-right">
                                    <input type="text" class="input input-big" name="pwdCode" placeholder="重置验证码"
                                        data-validate="required:请输入邮箱内的验证码">
                                    <span class="icon icon-key margin-small"></span>
                                </div>
                            </div>
                        </div>
                        <div style="padding:30px;"><input type="submit"
                                class="button button-block bg-main text-big input-big" value="确认提交"></div>
                    </div>
                </form>
            </div>
        </div>
    </div>
    {/if}


</body>
<script>

</script>

</html>